<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<link type="text/css" rel="stylesheet" href="themes/humanity/skin.css" />
</h:head>
<title>Recordatorios</title>
<ui:composition template="/WEB-INF/templates/MenuTemplate.xhtml">
	<ui:define name="content">
	
	<p:panel header="Alta Recordatorio" toggleable="false" id="panel">
		<h:form>
			<p:messages autoUpdate="true" />
			<h:panelGrid columns="2" cellpadding="5">
				<h:outputLabel value="Mensaje:" />
				<p:inputText value="#{autoCompleteRecoBean.mensaje}" required="true"
					label="Objetivo" effect="fade">
				</p:inputText>
				<h:outputLabel value="Fecha Prog:" />
				<p:calendar value="#{autoCompleteRecoBean.date}" required="true"
					label="Fecha Programada" showOn="both" pattern="dd/MM/yyyy HH:mm" />
<!-- 				<p:inputMask value="#{autoCompleteRecoBean.date}" mask="99/99/9999" /> -->

			</h:panelGrid>
			<p:commandButton value="Confirmar"
				action="#{autoCompleteRecoBean.recordatorioAlta}" ajax="false" />
			<p:commandButton value="Cancelar" action="menu" ajax="false"
				immediate="true"></p:commandButton>
		</h:form>
	</p:panel>
	</ui:define>
</ui:composition>
</html>